[INFO] cloning repository https://github.com/Velfi/Gray-Scott-Reaction-Diffusion
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Velfi/Gray-Scott-Reaction-Diffusion" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVelfi%2FGray-Scott-Reaction-Diffusion", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVelfi%2FGray-Scott-Reaction-Diffusion'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 42b3e55765d2ca887ee772980faaa3517bcf8019
[INFO] building Velfi/Gray-Scott-Reaction-Diffusion against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVelfi%2FGray-Scott-Reaction-Diffusion" "/workspace/builds/worker-3/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Velfi/Gray-Scott-Reaction-Diffusion on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Velfi/Gray-Scott-Reaction-Diffusion
[INFO] finished tweaking git repo https://github.com/Velfi/Gray-Scott-Reaction-Diffusion
[INFO] tweaked toml for git repo https://github.com/Velfi/Gray-Scott-Reaction-Diffusion written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/Velfi/Gray-Scott-Reaction-Diffusion already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde_derive v1.0.87
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6bca26f9e27f24ef4c4195b77d3c52249790be9e63cee9eb6e89f4cf201db6a9
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "6bca26f9e27f24ef4c4195b77d3c52249790be9e63cee9eb6e89f4cf201db6a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6bca26f9e27f24ef4c4195b77d3c52249790be9e63cee9eb6e89f4cf201db6a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6bca26f9e27f24ef4c4195b77d3c52249790be9e63cee9eb6e89f4cf201db6a9", kill_on_drop: false }`
[INFO] [stdout] 6bca26f9e27f24ef4c4195b77d3c52249790be9e63cee9eb6e89f4cf201db6a9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 16d179300b2e0ad9a821101007682281e5bb7f187b052e8eca24dc0c5319f4de
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "16d179300b2e0ad9a821101007682281e5bb7f187b052e8eca24dc0c5319f4de", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling cfg-if v0.1.6
[INFO] [stderr]    Compiling libc v0.2.65
[INFO] [stderr]    Compiling serde v1.0.102
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling proc-macro2 v0.4.27
[INFO] [stderr]    Compiling lazy_static v1.2.0
[INFO] [stderr]    Compiling cc v1.0.29
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling bitflags v1.0.4
[INFO] [stderr]    Compiling xml-rs v0.8.0
[INFO] [stderr]    Compiling pkg-config v0.3.14
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling khronos_api v3.1.0
[INFO] [stderr]    Compiling rand_core v0.4.0
[INFO] [stderr]    Compiling scopeguard v1.0.0
[INFO] [stderr]    Compiling arrayvec v0.4.10
[INFO] [stderr]    Compiling nodrop v0.1.13
[INFO] [stderr]    Compiling linked-hash-map v0.5.1
[INFO] [stderr]    Compiling arrayvec v0.5.1
[INFO] [stderr]    Compiling adler32 v1.0.4
[INFO] [stderr]    Compiling same-file v1.0.5
[INFO] [stderr]    Compiling nix v0.14.1
[INFO] [stderr]    Compiling num-integer v0.1.39
[INFO] [stderr]    Compiling rayon-core v1.4.1
[INFO] [stderr]    Compiling ryu v1.0.2
[INFO] [stderr]    Compiling version_check v0.1.5
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]    Compiling downcast-rs v1.1.1
[INFO] [stderr]    Compiling num-rational v0.2.1
[INFO] [stderr]    Compiling xdg v2.2.0
[INFO] [stderr]    Compiling pulldown-cmark v0.2.0
[INFO] [stderr]    Compiling itoa v0.4.4
[INFO] [stderr]    Compiling typenum v1.10.0
[INFO] [stderr]    Compiling libm v0.1.4
[INFO] [stderr]    Compiling rayon v1.0.3
[INFO] [stderr]    Compiling either v1.5.0
[INFO] [stderr]    Compiling remove_dir_all v0.5.2
[INFO] [stderr]    Compiling nix v0.11.1
[INFO] [stderr]    Compiling num-derive v0.2.4
[INFO] [stderr]    Compiling num-iter v0.1.37
[INFO] [stderr]    Compiling rawpointer v0.2.1
[INFO] [stderr]    Compiling xi-unicode v0.2.0
[INFO] [stderr]    Compiling color_quant v1.0.1
[INFO] [stderr]    Compiling bytecount v0.4.0
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling mint v0.5.3
[INFO] [stderr]    Compiling vec_map v0.8.1
[INFO] [stderr]    Compiling uuid v0.7.4
[INFO] [stderr]    Compiling podio v0.1.6
[INFO] [stderr]    Compiling fnv v1.0.6
[INFO] [stderr]    Compiling claxon v0.4.2
[INFO] [stderr]    Compiling hound v3.4.0
[INFO] [stderr]    Compiling bytemuck v1.2.0
[INFO] [stderr]    Compiling scoped_threadpool v0.1.9
[INFO] [stderr]    Compiling num-traits v0.2.9
[INFO] [stderr]    Compiling crossbeam-utils v0.7.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.0
[INFO] [stderr]    Compiling backtrace v0.3.13
[INFO] [stderr]    Compiling num-complex v0.2.3
[INFO] [stderr]    Compiling log v0.4.6
[INFO] [stderr]    Compiling crossbeam-utils v0.2.2
[INFO] [stderr]    Compiling draw_state v0.8.0
[INFO] [stderr]    Compiling unreachable v1.0.0
[INFO] [stderr]    Compiling crossbeam-utils v0.6.6
[INFO] [stderr]    Compiling walkdir v2.2.9
[INFO] [stderr]    Compiling lock_api v0.3.1
[INFO] [stderr]    Compiling inflate v0.4.4
[INFO] [stderr]    Compiling miniz_oxide v0.3.6
[INFO] [stderr]    Compiling matrixmultiply v0.2.3
[INFO] [stderr]    Compiling itertools v0.9.0
[INFO] [stderr]    Compiling gif v0.10.1
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand_jitter v0.1.3
[INFO] [stderr]    Compiling smallvec v0.6.8
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rustc-hash v1.0.1
[INFO] [stderr]    Compiling stb_truetype v0.3.0
[INFO] [stderr]    Compiling ogg v0.7.0
[INFO] [stderr]    Compiling deflate v0.7.19
[INFO] [stderr]    Compiling deflate v0.8.4
[INFO] [stderr]    Compiling error-chain v0.12.1
[INFO] [stderr]    Compiling gfx_core v0.9.2
[INFO] [stderr]    Compiling gl_generator v0.11.0
[INFO] [stderr]    Compiling gl_generator v0.13.1
[INFO] [stderr]    Compiling png v0.15.0
[INFO] [stderr]    Compiling tiff v0.4.0
[INFO] [stderr]    Compiling x11-dl v2.18.4
[INFO] [stderr]    Compiling alsa-sys v0.1.2
[INFO] [stderr]    Compiling libudev-sys v0.1.4
[INFO] [stderr]    Compiling crossbeam-epoch v0.3.1
[INFO] [stderr]    Compiling lewton v0.9.4
[INFO] [stderr]    Compiling png v0.16.3
[INFO] [stderr]    Compiling quote v0.6.11
[INFO] [stderr]    Compiling crossbeam-deque v0.2.0
[INFO] [stderr]    Compiling libloading v0.5.2
[INFO] [stderr]    Compiling backtrace-sys v0.1.28
[INFO] [stderr]    Compiling minimp3-sys v0.3.1
[INFO] [stderr]    Compiling bzip2-sys v0.1.7
[INFO] [stderr]    Compiling syn v0.15.26
[INFO] [stderr]    Compiling wayland-scanner v0.21.13
[INFO] [stderr]    Compiling num_cpus v1.10.0
[INFO] [stderr]    Compiling rand_os v0.1.2
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling memmap v0.7.0
[INFO] [stderr]    Compiling raw-window-handle v0.3.1
[INFO] [stderr]    Compiling shared_library v0.1.9
[INFO] [stderr]    Compiling slice-deque v0.2.4
[INFO] [stderr]    Compiling dirs-sys v0.3.4
[INFO] [stderr]    Compiling generic-array v0.12.3
[INFO] [stderr]    Compiling approx v0.3.2
[INFO] [stderr]    Compiling ordered-float v1.0.2
[INFO] [stderr]    Compiling line_drawing v0.7.0
[INFO] [stderr]    Compiling num-traits v0.1.43
[INFO] [stderr]    Compiling osmesa-sys v0.1.2
[INFO] [stderr]    Compiling directories v2.0.2
[INFO] [stderr]    Compiling cpal v0.8.2
[INFO] [stderr]    Compiling sid v0.5.2
[INFO] [stderr]    Compiling dlib v0.4.1
[INFO] [stderr]    Compiling glutin_egl_sys v0.1.4
[INFO] [stderr]    Compiling gfx_gl v0.6.0
[INFO] [stderr]    Compiling glutin_glx_sys v0.1.5
[INFO] [stderr]    Compiling wayland-sys v0.21.13
[INFO] [stderr]    Compiling minimp3 v0.3.3
[INFO] [stderr]    Compiling tempdir v0.3.7
[INFO] [stderr]    Compiling alga v0.9.2
[INFO] [stderr]    Compiling bzip2 v0.3.3
[INFO] [stderr]    Compiling zip v0.5.3
[INFO] [stderr]    Compiling gfx v0.18.2
[INFO] [stderr]    Compiling wayland-client v0.21.13
[INFO] [stderr]    Compiling wayland-protocols v0.21.13
[INFO] [stderr]    Compiling jpeg-decoder v0.1.18
[INFO] [stderr]    Compiling gilrs-core v0.2.4
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling serde_json v1.0.41
[INFO] [stderr]    Compiling toml v0.5.5
[INFO] [stderr]    Compiling gilrs v0.7.2
[INFO] [stderr]    Compiling wayland-commons v0.21.13
[INFO] [stderr]    Compiling image v0.23.4
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling memoffset v0.5.3
[INFO] [stderr]    Compiling rand_pcg v0.1.1
[INFO] [stderr]    Compiling parking_lot_core v0.6.2
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]    Compiling euclid_macros v0.1.0
[INFO] [stderr]    Compiling serde_derive v1.0.87
[INFO] [stderr]    Compiling smart-default v0.5.2
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling crossbeam-deque v0.7.2
[INFO] [stderr]    Compiling rusttype v0.8.1
[INFO] [stderr]    Compiling rusttype v0.7.9
[INFO] [stderr]    Compiling glyph_brush_layout v0.1.8
[INFO] [stderr]    Compiling andrew v0.2.1
[INFO] [stderr]    Compiling euclid v0.19.9
[INFO] [stderr]    Compiling twox-hash v1.1.2
[INFO] [stderr]    Compiling nalgebra v0.18.1
[INFO] [stderr]    Compiling glyph_brush v0.6.1
[INFO] [stderr]    Compiling tiff v0.3.1
[INFO] [stderr]    Compiling glyph_brush v0.5.4
[INFO] [stderr]    Compiling image v0.22.3
[INFO] [stderr]    Compiling lyon_geom v0.12.7
[INFO] [stderr]    Compiling gfx_device_gl v0.16.2
[INFO] [stderr]    Compiling lyon_path v0.13.2
[INFO] [stderr]    Compiling lyon_algorithms v0.13.4
[INFO] [stderr]    Compiling lyon_tessellation v0.13.5
[INFO] [stderr]    Compiling lyon v0.13.5
[INFO] [stderr]    Compiling smithay-client-toolkit v0.4.6
[INFO] [stderr]    Compiling cargo_metadata v0.6.4
[INFO] [stderr]    Compiling winit v0.19.5
[INFO] [stderr]    Compiling skeptic v0.13.4
[INFO] [stderr]    Compiling ggez v0.5.1
[INFO] [stderr]    Compiling glutin v0.20.1
[INFO] [stderr]    Compiling gfx_window_glutin v0.30.0
[INFO] [stderr]    Compiling rodio v0.9.0
[INFO] [stderr]    Compiling gray_scott_reaction_diffusion v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: this file contains an unclosed delimiter
[INFO] [stdout]    --> src/main.rs:164:3
[INFO] [stdout]     |
[INFO] [stdout] 79  |     fn draw(&mut self, frame: &mut [u8]) {
[INFO] [stdout]     |                                          - unclosed delimiter
[INFO] [stdout] 80  |         let rds = &self.reaction_diffusion_system;
[INFO] [stdout] 81  |         for (i, pixel) in frame.chunks_exact_mut(4).enumerate() {
[INFO] [stdout]     |                                                                 - this delimiter might not be properly closed...
[INFO] [stdout] ...
[INFO] [stdout] 122 | }
[INFO] [stdout]     | - ...as it matches this but it has different indentation
[INFO] [stdout] ...
[INFO] [stdout] 164 | }
[INFO] [stdout]     |   ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `!` or `::`, found `(`
[INFO] [stdout]   --> src/main.rs:76:11
[INFO] [stdout]    |
[INFO] [stdout] 67 | impl event::EventHandler for MainState {
[INFO] [stdout]    |                                        - while parsing this item list starting here
[INFO] [stdout] ...
[INFO] [stdout] 76 |         Ok(())
[INFO] [stdout]    |           ^ expected one of `!` or `::`
[INFO] [stdout] 77 |     }
[INFO] [stdout]    |     - the item list ends here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]   --> src/main.rs:79:13
[INFO] [stdout]    |
[INFO] [stdout] 79 |     fn draw(&mut self, frame: &mut [u8]) {
[INFO] [stdout]    |             ^^^^^^^^^ not semantically valid as function parameter
[INFO] [stdout]    |
[INFO] [stdout]    = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]   --> src/main.rs:87:30
[INFO] [stdout]    |
[INFO] [stdout] 87 |     fn mouse_button_up_event(&mut self, _ctx: &mut Context, button: MouseButton, _x: f32, _y: f32) {
[INFO] [stdout]    |                              ^^^^^^^^^ not semantically valid as function parameter
[INFO] [stdout]    |
[INFO] [stdout]    = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]   --> src/main.rs:93:27
[INFO] [stdout]    |
[INFO] [stdout] 93 |     fn mouse_motion_event(&mut self, _ctx: &mut Context, x: f32, y: f32, _xrel: f32, _yrel: f32) {
[INFO] [stdout]    |                           ^^^^^^^^^ not semantically valid as function parameter
[INFO] [stdout]    |
[INFO] [stdout]    = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]    --> src/main.rs:104:9
[INFO] [stdout]     |
[INFO] [stdout] 104 |         &mut self,
[INFO] [stdout]     |         ^^^^^^^^^ not semantically valid as function parameter
[INFO] [stdout]     |
[INFO] [stdout]     = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `log`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use log::{debug, error, info};
[INFO] [stdout]    |     ^^^ use of undeclared crate or module `log`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `pixels`
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use pixels::{Error, Pixels, SurfaceTexture};
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `pixels`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit`
[INFO] [stdout]   --> src/main.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use winit::dpi::LogicalSize;
[INFO] [stdout]    |     ^^^^^ use of undeclared crate or module `winit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit`
[INFO] [stdout]   --> src/main.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use winit::event::{Event, VirtualKeyCode};
[INFO] [stdout]    |     ^^^^^ use of undeclared crate or module `winit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit`
[INFO] [stdout]   --> src/main.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use winit::event_loop::{ControlFlow, EventLoop};
[INFO] [stdout]    |     ^^^^^ use of undeclared crate or module `winit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit`
[INFO] [stdout]   --> src/main.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use winit::window::WindowBuilder;
[INFO] [stdout]    |     ^^^^^ use of undeclared crate or module `winit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `vector2`
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use vector2::Vector2;
[INFO] [stdout]    |     ^^^^^^^ use of undeclared crate or module `vector2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winit_input_helper`
[INFO] [stdout]   --> src/main.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use winit_input_helper::WinitInputHelper;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `winit_input_helper`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env`
[INFO] [stdout]    --> src/main.rs:125:50
[INFO] [stdout]     |
[INFO] [stdout] 125 |     let resource_dir = if let Ok(manifest_dir) = env::var("CARGO_MANIFEST_DIR") {
[INFO] [stdout]     |                                                  ^^^ use of undeclared crate or module `env`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `x` in this scope
[INFO] [stdout]   --> src/main.rs:73:42
[INFO] [stdout]    |
[INFO] [stdout] 73 |                 .set(ChemicalSpecies::V, x as isize, y as isize, 0.80)
[INFO] [stdout]    |                                          ^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `y` in this scope
[INFO] [stdout]   --> src/main.rs:73:54
[INFO] [stdout]    |
[INFO] [stdout] 73 |                 .set(ChemicalSpecies::V, x as isize, y as isize, 0.80)
[INFO] [stdout]    |                                                      ^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `path`
[INFO] [stdout]    --> src/main.rs:126:30
[INFO] [stdout]     |
[INFO] [stdout] 126 |         let mut path = path::PathBuf::from(manifest_dir);
[INFO] [stdout]     |                              ^^^^^^^ not found in `path`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 7   | use std::path::PathBuf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `path`
[INFO] [stdout]    --> src/main.rs:130:15
[INFO] [stdout]     |
[INFO] [stdout] 130 |         path::PathBuf::from("./resources")
[INFO] [stdout]     |               ^^^^^^^ not found in `path`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 7   | use std::path::PathBuf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RgbaImage` in this scope
[INFO] [stdout]    --> src/main.rs:153:88
[INFO] [stdout]     |
[INFO] [stdout] 153 | fn rds_to_rgba_image(rds: &ReactionDiffusionSystem, color_gradient: &ColorGradient) -> RgbaImage {
[INFO] [stdout]     |                                                                                        ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]     |
[INFO] [stdout] 7   | use image::RgbaImage;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImageBuffer`
[INFO] [stdout]    --> src/main.rs:154:5
[INFO] [stdout]     |
[INFO] [stdout] 154 |     ImageBuffer::from_fn(rds.width as u32, rds.height as u32, |x, y| {
[INFO] [stdout]     |     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 7   | use image::ImageBuffer;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Rgba` in this scope
[INFO] [stdout]    --> src/main.rs:162:9
[INFO] [stdout]     |
[INFO] [stdout] 162 |         Rgba([r, g, b, 255])
[INFO] [stdout]     |         ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple struct
[INFO] [stdout]     |
[INFO] [stdout] 7   | use image::Rgba;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Color`, `DrawParam`, `mint::Vector2`, `self`
[INFO] [stdout]   --> src/main.rs:9:16
[INFO] [stdout]    |
[INFO] [stdout] 9  |     graphics::{self, Color, DrawParam},
[INFO] [stdout]    |                ^^^^  ^^^^^  ^^^^^^^^^
[INFO] [stdout] 10 |     mint::Vector2,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Instant`
[INFO] [stdout]   --> src/main.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use std::time::Instant;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0046]: not all trait items implemented, missing: `draw`
[INFO] [stdout]   --> src/main.rs:67:1
[INFO] [stdout]    |
[INFO] [stdout] 67 | impl event::EventHandler for MainState {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `draw` in implementation
[INFO] [stdout]    |
[INFO] [stdout]    = help: implement the missing item: `fn draw(&mut self, _: &mut ggez::Context) -> Result<(), GameError> { todo!() }`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:51:17
[INFO] [stdout]    |
[INFO] [stdout] 51 |                 MODEL_WIDTH,
[INFO] [stdout]    |                 ^^^^^^^^^^^ expected `u32`, found `usize`
[INFO] [stdout]    |
[INFO] [stdout] help: you can convert a `usize` to a `u32` and panic if the converted value doesn't fit
[INFO] [stdout]    |
[INFO] [stdout] 51 |                 MODEL_WIDTH.try_into().unwrap(),
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:52:17
[INFO] [stdout]    |
[INFO] [stdout] 52 |                 MODEL_HEIGHT,
[INFO] [stdout]    |                 ^^^^^^^^^^^^ expected `u32`, found `usize`
[INFO] [stdout]    |
[INFO] [stdout] help: you can convert a `usize` to a `u32` and panic if the converted value doesn't fit
[INFO] [stdout]    |
[INFO] [stdout] 52 |                 MODEL_HEIGHT.try_into().unwrap(),
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:72:13
[INFO] [stdout]    |
[INFO] [stdout] 68 |       fn update(&mut self, ctx: &mut Context) -> GameResult<()> {
[INFO] [stdout]    |                                                  -------------- expected `Result<(), GameError>` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 72 | /             self.reaction_diffusion_system
[INFO] [stdout] 73 | |                 .set(ChemicalSpecies::V, x as isize, y as isize, 0.80)
[INFO] [stdout]    | |______________________________________________________________________^ expected enum `Result`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Result<(), GameError>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] help: try using a variant of the expected enum
[INFO] [stdout]    |
[INFO] [stdout] 72 |             Ok(self.reaction_diffusion_system
[INFO] [stdout] 73 |                 .set(ChemicalSpecies::V, x as isize, y as isize, 0.80))
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:155:25
[INFO] [stdout]     |
[INFO] [stdout] 155 |         let u = rds.get(&ChemicalSpecies::U, x as isize, y as isize);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         expected enum `ChemicalSpecies`, found `&ChemicalSpecies`
[INFO] [stdout]     |                         help: consider removing the borrow: `ChemicalSpecies::U`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:156:25
[INFO] [stdout]     |
[INFO] [stdout] 156 |         let v = rds.get(&ChemicalSpecies::V, x as isize, y as isize);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         expected enum `ChemicalSpecies`, found `&ChemicalSpecies`
[INFO] [stdout]     |                         help: consider removing the borrow: `ChemicalSpecies::V`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/gray_scott_model.rs:50:46
[INFO] [stdout]    |
[INFO] [stdout] 50 |         let index = get_wrapping_index(x, y, self.width, self.height);
[INFO] [stdout]    |                                              ^^^^^^^^^^ expected `usize`, found `u32`
[INFO] [stdout]    |
[INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit
[INFO] [stdout]    |
[INFO] [stdout] 50 |         let index = get_wrapping_index(x, y, self.width.try_into().unwrap(), self.height);
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/gray_scott_model.rs:50:58
[INFO] [stdout]    |
[INFO] [stdout] 50 |         let index = get_wrapping_index(x, y, self.width, self.height);
[INFO] [stdout]    |                                                          ^^^^^^^^^^^ expected `usize`, found `u32`
[INFO] [stdout]    |
[INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit
[INFO] [stdout]    |
[INFO] [stdout] 50 |         let index = get_wrapping_index(x, y, self.width, self.height.try_into().unwrap());
[INFO] [stdout]    |                                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/gray_scott_model.rs:77:46
[INFO] [stdout]    |
[INFO] [stdout] 77 |         let index = get_wrapping_index(x, y, self.width, self.height);
[INFO] [stdout]    |                                              ^^^^^^^^^^ expected `usize`, found `u32`
[INFO] [stdout]    |
[INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit
[INFO] [stdout]    |
[INFO] [stdout] 77 |         let index = get_wrapping_index(x, y, self.width.try_into().unwrap(), self.height);
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/gray_scott_model.rs:77:58
[INFO] [stdout]    |
[INFO] [stdout] 77 |         let index = get_wrapping_index(x, y, self.width, self.height);
[INFO] [stdout]    |                                                          ^^^^^^^^^^^ expected `usize`, found `u32`
[INFO] [stdout]    |
[INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit
[INFO] [stdout]    |
[INFO] [stdout] 77 |         let index = get_wrapping_index(x, y, self.width, self.height.try_into().unwrap());
[INFO] [stdout]    |                                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 32 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0046, E0308, E0412, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0046`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `gray_scott_reaction_diffusion`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "16d179300b2e0ad9a821101007682281e5bb7f187b052e8eca24dc0c5319f4de", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "16d179300b2e0ad9a821101007682281e5bb7f187b052e8eca24dc0c5319f4de", kill_on_drop: false }`
[INFO] [stdout] 16d179300b2e0ad9a821101007682281e5bb7f187b052e8eca24dc0c5319f4de
